package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(20)" json:"username"` //用户名
	Password string `gorm:"type:varchar(50)" json:"password"` //密码
}
type Store struct {
	gorm.Model
	Name    string `gorm:"type:varchar(20)" json:"name"`     //门店名称
	Address string `gorm:"type:varchar(100)" json:"address"` //门店地址
	Tel     string `gorm:"type:char(11)" json:"tel"`         //门店电话
}
